package com.example.springdemo.domain;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author Wenyi Luo
 * @ClassName JsonData
 * @Description TODO
 * @date 22/2/22 14:59
 * @version: 1.0
 */


@Component
//@ConfigurationProperties(prefix = "jsondata")
//@PropertySource(value="classpath:MY.properties",encoding = "utf-8")
public class JsonData {
    private String content;
    private String sysdate;

    public JsonData() {
    }

    public JsonData(String content, String sysdate) {
        this.content = content;
        this.sysdate = sysdate;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public String getSysdate() {
        return sysdate;
    }

    public void setSysdate(String sysdate) {
        this.sysdate = sysdate;
    }
}
